Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.routing.contentView.contrib--contentViews

This contribution is part of XML component org.nuxeo.ecm.platform.routing.contentView.contrib inside nuxeo-routing-web-6.0.jar

Extension Point

Extension point contentViews of component ContentViewService.

Contributed Items

  • <contentView name="route_past_steps">
          <title>label.document.routing.past.steps</title>
          <translateTitle>true</translateTitle>
          <showTitle>true</showTitle>
          <coreQueryPageProvider>
            <property name="coreSession">#{documentManager}</property>
            <parameter>#{currentDocument.id}</parameter>
            <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
            <whereClause docType="TaskDoc">
              <fixedPart>
                nt:targetDocumentId = ? AND 
                nt:processId = ? AND
                ecm:currentLifeCycleState = 'ended'
              </fixedPart>
            </whereClause>
            <pageSize>10</pageSize>
          </coreQueryPageProvider>
          <showFilterForm>false</showFilterForm>
          <showPageSizeSelector>false</showPageSizeSelector>
          <useGlobalPageSize>false</useGlobalPageSize>
          <refresh>
            <event>documentCreated</event>
            <event>workflowTaskCompleted</event>
          </refresh>
          <cacheSize>10</cacheSize>
          <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
          </cacheKey>
          <resultLayouts>
            <layout iconPath="" name="route_content_view_layout" showCSVExport="false" showPDFExport="false" title="" translateTitle=""/>
          </resultLayouts>
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="route_past_steps">
      <title>label.document.routing.past.steps</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>
      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <parameter>#{currentDocument.id}</parameter>
        <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
        <whereClause docType="TaskDoc">
          <fixedPart>
            nt:targetDocumentId = ? AND 
            nt:processId = ? AND
            ecm:currentLifeCycleState = 'ended'
          </fixedPart>
        </whereClause>
        <pageSize>10</pageSize>
      </coreQueryPageProvider>
      <showFilterForm>false</showFilterForm>
      <showPageSizeSelector>false</showPageSizeSelector>
      <useGlobalPageSize>false</useGlobalPageSize>
      <refresh>
        <event>documentCreated</event>
        <event>workflowTaskCompleted</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
      </cacheKey>
      <resultLayouts>
        <layout iconPath="" name="route_content_view_layout" showCSVExport="false" showPDFExport="false" title="" translateTitle=""/>
      </resultLayouts>
    </contentView>
  </extension>